import request from '@/utils/request'

// 查询基金清算列表
export function listFundWfLiquidation(query) {
  return request({
    url: '/liquidation/fundWfLiquidation/list',
    method: 'get',
    params: query
  })
}

// 查询基金清算详细
export function getFundWfLiquidation(id) {
  return request({
    url: '/liquidation/fundWfLiquidation/' + id,
    method: 'get'
  })
}

// 保存基金清算
export function saveFundWfLiquidation(data) {
  return request({
    url: '/liquidation/fundWfLiquidation/save',
    method: 'post',
    data: data
  })
}

// 删除基金清算
export function delFundWfLiquidation(id) {
  return request({
    url: '/liquidation/fundWfLiquidation/' + id,
    method: 'delete'
  })
}

// 查询基金规模
export function getFundSize(fundId) {
  return request({
    url: '/liquidation/fundWfLiquidation/getFundSize/' + fundId,
    method: 'get'
  })
}
